import Vue from 'vue'
import Vuex from 'vuex'

import per from 'vuex-persistedstate' 
Vue.use(per)
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // history:['酸菜鱼','鱼香肉丝'],
    // goods:[]
  },
  mutations: {
    // changeHistory(state,value){
    //   state.history.push(value)
    // },
    // delhistroy(state,v){
    //   state.history = ''
    // },
  },
  actions: {
  },
  modules: {
  },
  plugins:[
    per()
  ]
})
